package main.java.com.suncuicui.bi.FactoryMode.service.impl.MulFactoryMethodMode;

import main.java.com.suncuicui.bi.FactoryMode.service.intf.Sender;
import main.java.com.suncuicui.bi.FactoryMode.vo.MailSender;
import main.java.com.suncuicui.bi.FactoryMode.vo.SmsSender;

/**
 * Created by suncuicui on 2018/11/23.
 */
public class SendFactory {
    public Sender produceMail(){
        return new MailSender();
    }

    public Sender produceSms(){
        return new SmsSender();
    }
}
